<!-- Begin login.tpl -->
<table width="100%" border="0" cellspacing="50" cellpadding="0">
<td width="200" valign="top">
{if is_array($smarty.session.errors)}
{if count($smarty.session.errors) > 0}
{include file="errors.tpl"}
{/if}
{/if}
	<table cellpadding="0" cellspacing="0" class="moduletable">
      <tr><td>&nbsp;</td></tr>
	<tr>
	<th valign="top">Login</th>
	</tr>
      <tr><td>&nbsp;</td></tr>
	<tr>

	<td>
	<form method="post" name="loginForm" action="{$smarty.const._URL_}">
		<!-- Check if Javascript is enabled -->
		<script language="JavaScript" type="text/javascript">
		document.write('<input type="hidden" name="javascript" value="enabled">');
		</script>

		<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
		<td>Username<br /><input type="text" size="16" name="username" />
		<br />Password<br /><input type="password" size="16" name="password" />
	<br />
	<br />

		<input type="hidden" name="option" value="login" />
		<input type="submit" name="Submit" class="button" value=" OK " />
	</td>
	</tr>
	<tr>
		<td><a href="?forgotten_password=true">Forgotten Password ?</a></td>
	</tr>
      <tr><td>&nbsp;</td></tr>
	</table>
	</form>
	</table>
{if $smarty.get.forgotten_password eq "true"}
	<table cellpadding="0" cellspacing="0" class="moduletable">
		<tr>
		<th valign="top">Forgotten Password</th>
		</tr>
		<tr>
		<td>
			<form method="post" action="?module=public&action=forgotten_password&send=true&forgotten_password=true">

			<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
				<tr>
				<td>Username<br /><input type="text" size="16" name="username" />
				<br />
				<input type="submit" class="button" value="SEND" />
				</td>
				</tr>
			</table>
	</form>
	</table>
{/if}

</td>

<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="30" align="center">

<td align="justify">{$motd}</td>
	</tr>
	<tr>
</table>
</table>

<!-- End login.tpl -->
